<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/BSP/dev_touch.c 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_4ca18d753a70f6eada20fde478bd3fc8.html">BSP</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a> &#124;
<a href="#enum-members">枚举</a> &#124;
<a href="#func-members">函数</a> &#124;
<a href="#var-members">变量</a>  </div>
  <div class="headertitle"><div class="title">dev_touch.c 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p>TP 触摸设备驱动层  
<a href="#details">更多...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="dev__touch_8h_source.html">dev_touch.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="_t_p___g_t911_8h_source.html">TP_GT911.h</a>&quot;</code><br />
</div><div class="textblock"><div class="dynheader">
dev_touch.c 的引用(Include)关系图:</div>
<div class="dyncontent">
<div class="center"><img src="dev__touch_8c__incl.png" border="0" usemap="#a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__touch_8c" alt=""/></div>
<map name="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__touch_8c" id="a_c_1_2_users_2_d_e_l_l_2_desktop_2_commit_2lvgl_2_s_w_m34_s___l_v_g_l7_811___s_w_m_u_i__20230515_2_a_p_p_2_b_s_p_2dev__touch_8c">
<area shape="rect" title="TP 触摸设备驱动层" alt="" coords="5,5,277,60"/>
<area shape="rect" href="dev__touch_8h.html" title="TP 触摸设备驱动层" alt="" coords="55,181,145,207"/>
<area shape="rect" href="_t_p___g_t911_8h.html" title="本例程为触摸 IC 驱动: GT911(汇顶科技)" alt="" coords="137,108,231,133"/>
<area shape="rect" title=" " alt="" coords="141,255,227,280"/>
<area shape="rect" href="version_8h.html" title="版本/目标控制" alt="" coords="43,255,117,280"/>
</map>
</div>
</div>
<p><a href="dev__touch_8c_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:a5a167336ba39168b4117c85a7f7f364e"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8c.html#a5a167336ba39168b4117c85a7f7f364e">TP_MAX_POINTS</a>&#160;&#160;&#160;(5)</td></tr>
<tr class="memdesc:a5a167336ba39168b4117c85a7f7f364e"><td class="mdescLeft">&#160;</td><td class="mdescRight">电容屏支持的点数,固定最大为5点  <a href="dev__touch_8c.html#a5a167336ba39168b4117c85a7f7f364e">更多...</a><br /></td></tr>
<tr class="separator:a5a167336ba39168b4117c85a7f7f364e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="enum-members" name="enum-members"></a>
枚举</h2></td></tr>
<tr class="memitem:a3d600ad47f709a0dcfa5cbf1a00fc31a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31a">irq_flag_t</a> { <br />
&#160;&#160;<a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a> = 0
, <a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59">OK</a>
, <a class="el" href="dev__jpeg_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a> = 0
, <a class="el" href="dev__jpeg_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59">OK</a>
, <br />
&#160;&#160;<a class="el" href="dev__touch_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a> = 0
, <a class="el" href="dev__touch_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59">OK</a>
, <a class="el" href="load__mv_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a> = 0
, <a class="el" href="load__mv_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59">OK</a>
<br />
 }</td></tr>
<tr class="memdesc:a3d600ad47f709a0dcfa5cbf1a00fc31a"><td class="mdescLeft">&#160;</td><td class="mdescRight">中断标志  <a href="dev__touch_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31a">更多...</a><br /></td></tr>
<tr class="separator:a3d600ad47f709a0dcfa5cbf1a00fc31a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:aa04ed8d9159d0fe710b89b9f83109a2c"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8c.html#aa04ed8d9159d0fe710b89b9f83109a2c">touch_close</a> (void)</td></tr>
<tr class="memdesc:aa04ed8d9159d0fe710b89b9f83109a2c"><td class="mdescLeft">&#160;</td><td class="mdescRight">关闭 Touch 设备通讯接口, 进入低功耗前使用  <a href="dev__touch_8c.html#aa04ed8d9159d0fe710b89b9f83109a2c">更多...</a><br /></td></tr>
<tr class="separator:aa04ed8d9159d0fe710b89b9f83109a2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84efe5d28ced56c26ea07c936b7a625a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8c.html#a84efe5d28ced56c26ea07c936b7a625a">isr_exti_tp_int</a> (void)</td></tr>
<tr class="memdesc:a84efe5d28ced56c26ea07c936b7a625a"><td class="mdescLeft">&#160;</td><td class="mdescRight">EXTI TP_INT ISR Callback (GPIO 输入边沿中断)  <a href="dev__touch_8c.html#a84efe5d28ced56c26ea07c936b7a625a">更多...</a><br /></td></tr>
<tr class="separator:a84efe5d28ced56c26ea07c936b7a625a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad79fb3af238f076a0aa90e32a43ab77e"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8c.html#ad79fb3af238f076a0aa90e32a43ab77e">touch_init</a> (<a class="el" href="structdev__tp__t.html">dev_tp_t</a> *dev)</td></tr>
<tr class="memdesc:ad79fb3af238f076a0aa90e32a43ab77e"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化触摸设备驱动  <a href="dev__touch_8c.html#ad79fb3af238f076a0aa90e32a43ab77e">更多...</a><br /></td></tr>
<tr class="separator:ad79fb3af238f076a0aa90e32a43ab77e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4155438389d8b8b802f7f20534056bf0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8c.html#a4155438389d8b8b802f7f20534056bf0">touch_handler</a> (<a class="el" href="structdev__tp__t.html">dev_tp_t</a> *dev)</td></tr>
<tr class="memdesc:a4155438389d8b8b802f7f20534056bf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸事件处理  <a href="dev__touch_8c.html#a4155438389d8b8b802f7f20534056bf0">更多...</a><br /></td></tr>
<tr class="separator:a4155438389d8b8b802f7f20534056bf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="var-members" name="var-members"></a>
变量</h2></td></tr>
<tr class="memitem:ab6150fbc07d4a5fe08cc7aa42d8d173e"><td class="memItemLeft" align="right" valign="top">static volatile uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8c.html#ab6150fbc07d4a5fe08cc7aa42d8d173e">IRQ_Flag_TP</a> = <a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a></td></tr>
<tr class="memdesc:ab6150fbc07d4a5fe08cc7aa42d8d173e"><td class="mdescLeft">&#160;</td><td class="mdescRight">TP_INT 边沿脉冲触发标志  <a href="dev__touch_8c.html#ab6150fbc07d4a5fe08cc7aa42d8d173e">更多...</a><br /></td></tr>
<tr class="separator:ab6150fbc07d4a5fe08cc7aa42d8d173e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f8d52db1d1006c9c286828db79a820a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structtp__data__t.html">tp_data_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8c.html#a1f8d52db1d1006c9c286828db79a820a">TP_Points_Data</a> [<a class="el" href="dev__touch_8c.html#a5a167336ba39168b4117c85a7f7f364e">TP_MAX_POINTS</a>]</td></tr>
<tr class="memdesc:a1f8d52db1d1006c9c286828db79a820a"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸点数据流  <a href="dev__touch_8c.html#a1f8d52db1d1006c9c286828db79a820a">更多...</a><br /></td></tr>
<tr class="separator:a1f8d52db1d1006c9c286828db79a820a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84c114ba14f4f7ca7c2258db06b98d87"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structdev__tp__t.html">dev_tp_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="dev__touch_8c.html#a84c114ba14f4f7ca7c2258db06b98d87">Dev_TP</a></td></tr>
<tr class="memdesc:a84c114ba14f4f7ca7c2258db06b98d87"><td class="mdescLeft">&#160;</td><td class="mdescRight">触摸屏设备  <a href="dev__touch_8c.html#a84c114ba14f4f7ca7c2258db06b98d87">更多...</a><br /></td></tr>
<tr class="separator:a84c114ba14f4f7ca7c2258db06b98d87"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >TP 触摸设备驱动层 </p>
<p >/ </p><dl class="section since"><dt>自从</dt><dd>Change Logs: Date Author Notes 2022-12-08 lzh the first version </dd></dl>
<dl class="section remark"><dt>备注</dt><dd>/</dd></dl>
<dl class="section attention"><dt>注意</dt><dd></dd></dl>
<p>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, SYNWIT SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONN- -ECTION WITH THEIR PRODUCTS.</p>
<dl class="section copyright"><dt>版权所有</dt><dd>2012 Synwit Technology </dd></dl>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 中定义.</p>
</div><h2 class="groupheader">宏定义说明</h2>
<a id="a5a167336ba39168b4117c85a7f7f364e" name="a5a167336ba39168b4117c85a7f7f364e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a167336ba39168b4117c85a7f7f364e">&#9670;&#160;</a></span>TP_MAX_POINTS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define TP_MAX_POINTS&#160;&#160;&#160;(5)</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>电容屏支持的点数,固定最大为5点 </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00042">42</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">枚举类型说明</h2>
<a id="a3d600ad47f709a0dcfa5cbf1a00fc31a" name="a3d600ad47f709a0dcfa5cbf1a00fc31a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d600ad47f709a0dcfa5cbf1a00fc31a">&#9670;&#160;</a></span>irq_flag_t</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31a">irq_flag_t</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>中断标志 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31"></a>NO&#160;</td><td class="fielddoc"><p >未触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59"></a>OK&#160;</td><td class="fielddoc"><p >已触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31"></a>NO&#160;</td><td class="fielddoc"><p >未触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59"></a>OK&#160;</td><td class="fielddoc"><p >已触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31"></a>NO&#160;</td><td class="fielddoc"><p >未触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59"></a>OK&#160;</td><td class="fielddoc"><p >已触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31"></a>NO&#160;</td><td class="fielddoc"><p >未触发中断 </p>
</td></tr>
<tr><td class="fieldname"><a id="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59" name="a3d600ad47f709a0dcfa5cbf1a00fc31aa2bc49ec37d6a5715dd23e85f1ff5bb59"></a>OK&#160;</td><td class="fielddoc"><p >已触发中断 </p>
</td></tr>
</table>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00057">57</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">函数说明</h2>
<a id="aa04ed8d9159d0fe710b89b9f83109a2c" name="aa04ed8d9159d0fe710b89b9f83109a2c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa04ed8d9159d0fe710b89b9f83109a2c">&#9670;&#160;</a></span>touch_close()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void touch_close </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>关闭 Touch 设备通讯接口, 进入低功耗前使用 </p>
<dl class="section note"><dt>注解</dt><dd>Touch IC 自身一般支持通过发送指令设置来进入低功耗/休眠模式, 详见各型号数据手册/驱动实现. </dd></dl>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00211">211</a> 行定义.</p>

</div>
</div>
<a id="a84efe5d28ced56c26ea07c936b7a625a" name="a84efe5d28ced56c26ea07c936b7a625a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84efe5d28ced56c26ea07c936b7a625a">&#9670;&#160;</a></span>isr_exti_tp_int()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void isr_exti_tp_int </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>EXTI TP_INT ISR Callback (GPIO 输入边沿中断) </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00125">125</a> 行定义.</p>

</div>
</div>
<a id="ad79fb3af238f076a0aa90e32a43ab77e" name="ad79fb3af238f076a0aa90e32a43ab77e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad79fb3af238f076a0aa90e32a43ab77e">&#9670;&#160;</a></span>touch_init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t touch_init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structdev__tp__t.html">dev_tp_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>初始化触摸设备驱动 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>: 设备句柄 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">0</td><td>: success </td></tr>
    <tr><td class="paramname">other</td><td>: error code </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00140">140</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="dev__touch_8c_ad79fb3af238f076a0aa90e32a43ab77e_icgraph.png" border="0" usemap="#adev__touch_8c_ad79fb3af238f076a0aa90e32a43ab77e_icgraph" alt=""/></div>
<map name="adev__touch_8c_ad79fb3af238f076a0aa90e32a43ab77e_icgraph" id="adev__touch_8c_ad79fb3af238f076a0aa90e32a43ab77e_icgraph">
<area shape="rect" title="初始化触摸设备驱动" alt="" coords="204,5,283,31"/>
<area shape="rect" href="power__manager_8c.html#a0607f7307b006db734b10c8b94bb909e" title="退出睡眠模式后的环境恢复" alt="" coords="5,5,156,31"/>
</map>
</div>

</div>
</div>
<a id="a4155438389d8b8b802f7f20534056bf0" name="a4155438389d8b8b802f7f20534056bf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4155438389d8b8b802f7f20534056bf0">&#9670;&#160;</a></span>touch_handler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void touch_handler </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structdev__tp__t.html">dev_tp_t</a> *&#160;</td>
          <td class="paramname"><em>dev</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触摸事件处理 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">dev</td><td>: 设备句柄 </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">/</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>注解</dt><dd>INT 中断触发-&gt;查询扫描 </dd></dl>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00174">174</a> 行定义.</p>
<div class="dynheader">
这是这个函数的调用关系图:</div>
<div class="dyncontent">
<div class="center"><img src="dev__touch_8c_a4155438389d8b8b802f7f20534056bf0_icgraph.png" border="0" usemap="#adev__touch_8c_a4155438389d8b8b802f7f20534056bf0_icgraph" alt=""/></div>
<map name="adev__touch_8c_a4155438389d8b8b802f7f20534056bf0_icgraph" id="adev__touch_8c_a4155438389d8b8b802f7f20534056bf0_icgraph">
<area shape="rect" title="触摸事件处理" alt="" coords="339,5,441,31"/>
<area shape="rect" href="ui__boot_8c.html#ad915e3f7b5aab86e375414a5844c500a" title="挂载文件系统以完成本地素材检测, 并将其导入至 SDRAM , 同时实现开机动画/视频效果" alt="" coords="227,5,291,31"/>
<area shape="rect" href="main_8c.html#a8f1efe6291a27ae9b326f0c8a236c102" title="Go to User App Execute" alt="" coords="104,5,179,31"/>
<area shape="rect" href="main_8c.html#a840291bc02cba5474a4cb46a9b9566fe" title="C_Main" alt="" coords="5,5,56,31"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">变量说明</h2>
<a id="ab6150fbc07d4a5fe08cc7aa42d8d173e" name="ab6150fbc07d4a5fe08cc7aa42d8d173e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab6150fbc07d4a5fe08cc7aa42d8d173e">&#9670;&#160;</a></span>IRQ_Flag_TP</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">volatile uint8_t IRQ_Flag_TP = <a class="el" href="dev__dac_8c.html#a3d600ad47f709a0dcfa5cbf1a00fc31aa0d077f5b932ce05e5b9f30c6087a2f31">NO</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>TP_INT 边沿脉冲触发标志 </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00065">65</a> 行定义.</p>

</div>
</div>
<a id="a1f8d52db1d1006c9c286828db79a820a" name="a1f8d52db1d1006c9c286828db79a820a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1f8d52db1d1006c9c286828db79a820a">&#9670;&#160;</a></span>TP_Points_Data</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structtp__data__t.html">tp_data_t</a> TP_Points_Data[<a class="el" href="dev__touch_8c.html#a5a167336ba39168b4117c85a7f7f364e">TP_MAX_POINTS</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>触摸点数据流 </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00068">68</a> 行定义.</p>

</div>
</div>
<a id="a84c114ba14f4f7ca7c2258db06b98d87" name="a84c114ba14f4f7ca7c2258db06b98d87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84c114ba14f4f7ca7c2258db06b98d87">&#9670;&#160;</a></span>Dev_TP</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structdev__tp__t.html">dev_tp_t</a> Dev_TP</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>触摸屏设备 </p>

<p class="definition">在文件 <a class="el" href="dev__touch_8c_source.html">dev_touch.c</a> 第 <a class="el" href="dev__touch_8c_source.html#l00073">73</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
